<!-- scenic_spot_detail.html -->
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>景点详情</title>
    <link rel="stylesheet" href="{% static 'css/style.css' %}">
</head>
<body>
    <header>
        <h1>景点详情</h1>
    </header>
    <div class="scenic-spot-detail">
        <h2>{{ scenic_spot.jq_name }}</h2>
        <p><strong>城市:</strong> {{ scenic_spot.jq_city }}</p>
        <p><strong>地址:</strong> {{ scenic_spot.jq_address }}</p>
        <p><strong>评分:</strong> {{ scenic_spot.jq_rating }}</p>
        <p><strong>类型:</strong> {{ scenic_spot.jq_type }}</p>
        <p><strong>问答数量:</strong> {{ scenic_spot.qa_count }}</p>

        <a href="{% url 'qa_pair_list' scenic_spot.jq_id %}">查看问答</a>
        <a href="{% url 'scenic_spot_update' scenic_spot.jq_id %}">编辑景点信息</a>
    </div>
</body>
</html>
